package com.itheima.Pojo;

import java.io.Serializable;

/**
 * @Description 
 * @author PianZhu
 * @date 2025/03/17
 */
public class Teacher implements Serializable {
	/* 教师编号，主键， */
	private Integer teacherId;

	/* 教师工号，标识一个教师 */
	private String teacherNumber;

	/* 教师密码，不能为空 */
	private String password;

	/* 教师姓名，不能为空 */
	private String name;

	/* 教师性别，'m'代表男，'f'代表女 */
	private String gender;

	public void setTeacherId(Integer teacherId){
		this.teacherId = teacherId;
	}
	public Integer getTeacherId(){
		return teacherId;
	}

	public void setTeacherNumber(String teacherNumber){
		this.teacherNumber = teacherNumber;
	}
	public String getTeacherNumber(){
		return teacherNumber;
	}

	public void setPassword(String password){
		this.password = password;
	}
	public String getPassword(){
		return password;
	}

	public void setName(String name){
		this.name = name;
	}
	public String getName(){
		return name;
	}

	public void setGender(String gender){
		this.gender = gender;
	}
	public String getGender(){
		return gender;
	}

	@Override
	public String toString() {
		return "教师编号-主键-: " + teacherId + "," + "教师工号-标识一个教师: " + teacherNumber + "," + "教师密码-不能为空: " + password + "," + "教师姓名-不能为空: " + name + "," + "教师性别-'m'代表男-'f'代表女: " + gender;
	}
}